﻿using System;
using System.Collections.Generic;
using System.Text;

namespace NovaSystem.EntidadesNegocio
{
    public class configuracion
    {
        #region Variables Privadas
        System.Configuration.AppSettingsReader read = new System.Configuration.AppSettingsReader();
        #endregion

        #region Singleton

        private static configuracion instancia = null;

        public static configuracion Instancia
        {
            get
            {
                if (instancia == null)
                {
                    instancia = new configuracion();
                }
                return instancia;
            }
        }

        #endregion

        #region Variables Publicas (Extraidas de la configuracion)
        public string CulturaMoneda
        {
            get { return read.GetValue("CulturaMoneda",typeof(string)).ToString(); }
        }
        #endregion

    }
}
